@model ExpertSMS.Models.KitchenImportEntry

@* This partial view defines form fields that will appear when creating and editing entities *@

<div class="editor-label">
    @Html.LabelFor(model => model.Date)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Date)
    @Html.ValidationMessageFor(model => model.Date)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.IsConfirmed)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.IsConfirmed)
    @Html.ValidationMessageFor(model => model.IsConfirmed)
</div>

<div class="editor-label">
    StoreToKitchenEntry
</div>
<div class="editor-field">
    @Html.DropDownListFor(model => model.StoreToKitchenEntryID, ((IEnumerable<ExpertSMS.Models.StoreToKitchenEntry>)ViewBag.PossibleStoreToKitchenEntries).Select(option => new SelectListItem {
        Text = Html.DisplayTextFor(_ => option).ToString(), 
        Value = option.StoreToKitchenEntryID.ToString(),
        Selected = (Model != null) && (option.StoreToKitchenEntryID == Model.StoreToKitchenEntryID)
    }), "Choose...")
    @Html.ValidationMessageFor(model => model.StoreToKitchenEntryID)
</div>
